package com.xxx.kjds.service;


import com.xxx.kjds.entity.FinanceCheck;
import com.xxx.kjds.entity.FinanceCheckExample;

import java.util.Date;
import java.util.List;

public interface FinanceService {
    
    public long countByExample(FinanceCheckExample example);

    public int deleteByExample(FinanceCheckExample example);
    
    public int deleteByPrimaryKey(Integer id);
    
    public int insert(FinanceCheck record);
    
    public int insertSelective(FinanceCheck record);
    
    public List<FinanceCheck> selectByExample(FinanceCheckExample example);
    
    public FinanceCheck selectByPrimaryKey(Integer id);
    
    public int updateByExampleSelective(FinanceCheck record, FinanceCheckExample example);
    
    public int updateByExample(FinanceCheck record, FinanceCheckExample example);
    
    public int updateByPrimaryKeySelective(FinanceCheck record);
    
    public int updateByPrimaryKey(FinanceCheck record);

    //列表查询
    public List<FinanceCheck> getList();

    //条件查询，wid
    public List<FinanceCheck> selectByWid(Integer wid);

    //根据申请时间applyTime查询 selectByApplyTime
    public FinanceCheck selectByApplyTime(Date time);

    //找到最新的一条记录
    //public FinanceCheck selectLast();
}
